/** @type {import('next').NextConfig} */
const nextConfig = {
     output: 'export',
     trailingSlash: true,

    images: {
        unoptimized: true
    },
    rewrites: async () => {
        console.log('rewrites');
        return [
            {
                source: '/:path*',
                destination: 'http://www.tjbaowj.top/:path*',
            },
        ];
    }
};

export default nextConfig;
